home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Toolbox
/
Visual Basic Toolbox (P.I.E.)(1996).ISO
/
buttons
/
espin
/
spin1.frm
< prev
next >
Wrap
Text File
|
1995-07-19
|
2KB
|
79 lines
VERSION 2.00
Begin Form FrmESpin
Caption = "Form1"
ClientHeight = 2070
ClientLeft = 2265
ClientTop = 720
ClientWidth = 1530
Height = 2505
Left = 2190
LinkTopic = "Form1"
ScaleHeight = 2070
ScaleWidth = 1530
Top = 360
Width = 1680
Begin Timer Timer1
Enabled = 0 'False
Interval = 50
Left = 240
Top = 120
End
Begin Image Image2
BorderStyle = 1 'Fixed Single
Height = 300
Index = 3
Left = 960
Picture = SPIN1.FRX:0000
Top = 1200
Visible = 0 'False
Width = 195
End
Begin Image Image2
BorderStyle = 1 'Fixed Single
Height = 300
Index = 2
Left = 720
Picture = SPIN1.FRX:010A
Top = 1200
Visible = 0 'False
Width = 195
End
Begin Image Image2
BorderStyle = 1 'Fixed Single
Height = 300
Index = 1
Left = 480
Picture = SPIN1.FRX:0214
Top = 1200
Visible = 0 'False
Width = 195
End
Begin Image Image2
BorderStyle = 1 'Fixed Single
Height = 300
Index = 0
Left = 240
Picture = SPIN1.FRX:031E
Top = 1200
Visible = 0 'False
Width = 195
End
End
Option Explicit
Sub Form_Load ()
' This form needs to be included in your project in order
' to use the enhanced spin button.
' It holds the timer and the bitmaps used for making the
' button look pressed.
'
' initialize
TwipsY = Screen.TwipsPerPixelY
Timer1.Interval = INITDELAY
End Sub
Sub Timer1_Timer ()
SpinIt
End Sub